package com.ychs.lawyer.service;

import com.ychs.lawyer.bean.Case;
import com.ychs.lawyer.bean.Lawyer;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/07/27/23:40
 * @Description:
 */

public interface LawyerService {
    List<Lawyer> getLawyersByCondition(Lawyer lawyer);

    int addLawyer(Lawyer lawyer);

    int editLawyer(Lawyer lawyer);

    int selectCase(String lawyerName);

    List<Case> selectLawyerName(String lawyerName);

    int selectVictoryCase(String lawyerName);

    int selectFaildCase(String lawyerName);

    int selectTalkCase(String lawyerName);
}
